<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="DataSetAppointments" targetNamespace="http://tempuri.org/DataSetAppointments.xsd"
	elementFormDefault="qualified" attributeFormDefault="qualified" xmlns="http://tempuri.org/DataSetAppointments.xsd"
	xmlns:mstns="http://tempuri.org/DataSetAppointments.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema"
	xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:codegen="urn:schemas-microsoft-com:xml-msprop">
	<xs:element name="DataSetAppointments" msdata:IsDataSet="true">
		<xs:complexType>
			<xs:choice maxOccurs="unbounded">
				<xs:element name="Appointment" codegen:typedName="Appointment" codegen:typedPlural="Appointments">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="AppointmentID" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />
							<xs:element name="ClientID" type="xs:int" minOccurs="0" codegen:nullValue="0" />
							<xs:element name="PerformerID" type="xs:int" minOccurs="0" codegen:nullValue="0" />
							<xs:element name="OperatorID" type="xs:int" minOccurs="0" codegen:nullValue="0" />
							<xs:element name="BillID" type="xs:int" minOccurs="0" />
							<xs:element name="ServiceID" type="xs:int" minOccurs="0" codegen:nullValue="0" />
							<xs:element name="StartTime" type="xs:dateTime" />
							<xs:element name="FinishTime" type="xs:dateTime" />
							<xs:element name="CreationTime" type="xs:dateTime" />
							<xs:element name="ExpectedDuration" type="xs:int" default="0" />
							<xs:element name="Comment" type="xs:string" minOccurs="0" codegen:nullValue="_empty" />
							<xs:element name="ServiceCost" type="xs:double" />
							<xs:element name="Description" type="xs:string" minOccurs="0" codegen:nullValue="_empty" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="BusyTime" codegen:typedName="BusyTime" codegen:typedPlural="BusyTimes">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="ScheduleID" msdata:ReadOnly="true" msdata:AutoIncrement="true" type="xs:int" />
							<xs:element name="Busy" type="xs:boolean" />
							<xs:element name="EmployeeID" type="xs:int" />
							<xs:element name="StartTime" type="xs:int" />
							<xs:element name="FinishTime" type="xs:int" />
							<xs:element name="ExactDate" type="xs:dateTime" codegen:nullValue="_throw" />
							<xs:element name="Descript" type="xs:string" minOccurs="0" codegen:nullValue="_empty" nillable="true" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:choice>
		</xs:complexType>
		<xs:unique name="DataSetAppointmentsKey1" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:Appointment" />
			<xs:field xpath="mstns:AppointmentID" />
		</xs:unique>
		<xs:unique name="DataSetAppointmentsKey2" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:Schedule" />
			<xs:field xpath="mstns:ScheduleID" />
		</xs:unique>
		<xs:key name="DataSetAppointmentsKey3" msdata:PrimaryKey="true">
			<xs:selector xpath=".//mstns:BusyTime" />
			<xs:field xpath="mstns:ScheduleID" />
		</xs:key>
	</xs:element>
</xs:schema>